package j01thread;



public class J3runnable {
    public static void main(String[] args) {
        Thread t1 = new Thread(new Runnable() {
            @Override
            public void run() {

            }
        });

        Thread t2 = new Thread(()->{
            for (int i = 0; i < 100; i++) {
                System.out.println("t2 = "+i);
            }
        });
        t2.start();
    }
}
